home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000323_news@columbia.edu _Fri Feb 28 11:14:32 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA02163
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 28 Feb 1997 11:14:31 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA13967
for kermit.misc@watsun; Fri, 28 Feb 1997 11:14:30 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: It's possible receive files in background?
Date: 28 Feb 1997 16:14:28 GMT
Organization: Columbia University
Lines: 42
Message-ID: <5f7094$hc4$1@apakabar.cc.columbia.edu>
References: <3316318D.7978@mics.msu.su>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6662
In article <3316318D.7978@mics.msu.su>,
Andrew A. Ivanov <ivanov@mics.msu.su> wrote:
: I'm using C-Kermit 5A(190) for HP-UX 10.0
: I have serial connection between our HP workstation
: and Panasonic modular switching system, it is sending some data
: over serial cable.
: What I need: _background_ task to receive this data and append them
: to an appropriate file. That's all.
: I've already tried many times kermit and cu, they works fine in
: foreground, but in background they stucks.
:
Probably C-Kermit is getting stuck because it wants to print a message
to stdout. If you start it with the -q option, it will be "quiet".
Now, let's assume there is a maximum amount of time that you want to
capture the data (let's say, 600 seconds), and there is a marker to show
the end of the data (let's say it's "End of Data").
Now suppose you have a C-Kermit script file called capture.ksc, containing
(for example):
set line /dev/tty01
set speed 19200
set flow rts/cts
log session panasonic.log
input 600 End of Data
close session
exit
Start C-Kermit like this:
kermit panasonic.log -q &
In case any messages are still leaking out, then do it like this:
kermit panasonic.log -q > /dev/null &
By the way, the current version of C-Kermit is 6.0:
http://www.columbia.edu/kermit/ck60.html
- Frank